<h1><%=t ".title"%></h1>

<table>
  <tr>
    <th><%= t('activerecord.attributes.author.full_name') %></th>
    <th><%= t('activerecord.attributes.author.country') %></th>
    <th><%= t('activerecord.attributes.author.cataloged') %></th>
  </tr>

<% @authors.each do |author| %>
  <tr>
    <td><%=h author.full_name %></td>
    <td><%=h author.country.name %></td>
    <td><%=h author.cataloged %></td>
    <td><%= link_to  t('btn_show'), author %></td>
    <td><%= link_to  t('btn_edit'), edit_author_path(author) %></td>
    <td><%= link_to  t('btn_destroy'), author, :confirm => t('msg_sure_destroy?'), :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to t('.btn_new_author'), new_author_path %>